package com.my12306.user.config;

import com.my12306.common.constant.CommonConstants;
import org.springframework.security.core.Authentication;
import org.springframework.security.web.authentication.logout.LogoutHandler;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @Author:苏牧夕
 * @Date:2020/5/25 13:23
 * @Version 1.0
 */
public class MyLogoutHandler implements LogoutHandler {

    @Override
    public void logout(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Authentication authentication) {
        String header = httpServletRequest.getHeader(CommonConstants.Authorization);

    }
}
